package com.swt.draw.vo;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class BaseResponse<T> {
    // 状态码
    private Integer code;
    // 描述
    private String desc;
    // 数据
    private T data;

    public BaseResponse(){
        this.code = 1002;
        this.desc = "fail";
    }
}
